package pojo;

import java.util.HashSet;
import java.util.Set;

public class Account {
	public Account(int id, double balance) {
		super();
		this.id = id;
		this.balance = balance;
	}
	private int id;
	private double balance;
	private Client client;
	private Set<Transaction> transaction = new HashSet<>();
	
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public double getBalance() {
		return balance;
	}
	
	public void setBalance(double balance) {
		this.balance = balance;
	}
	
	public Client getClient() {
		return client;
	}
	
	public void setClient(Client client) {
		this.client = client;
	}
	
	public Set<Transaction> getTransaction() {
		return transaction;
	}
	
	public void setTransaction(HashSet<Transaction> transaction) {
		this.transaction = transaction;
	}
	
}
